package com.ashen.study.aop;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

/**
 * @author hxl
 * @Classname ExecutionAspect
 * @Description execution aop拦截
 * @Date 2019/9/23 17:56
 */
@Aspect
@Component
public class ExecutionAspect {

//    @Pointcut("execution(public * com.ashen.study.service..*Service.*(..) throws Exception)")
//    public void  executionAspect(){
//    }
//
//    @Before("executionAspect()")
//    public void before(){
//        System.out.println("execution 拦截");
//    }
}
